package com.gaohe.dcp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 排班记录对象 dcp_scheduling
 * 
 * @author ruoyi
 * @date 2025-04-23
 */
public class DcpScheduling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long schedulingId;

    /** 医生id */
    @Excel(name = "医生id")
    private Long userId;

    /** 医生名称 */
    @Excel(name = "医生名称")
    private String userName;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String content;

    /** 开始节次 */
    @Excel(name = "开始节次")
    private Long start;

    /** 结束节次 */
    @Excel(name = "结束节次")
    private Long end;

    /** 排班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schedulingDate;

    public void setSchedulingId(Long schedulingId) 
    {
        this.schedulingId = schedulingId;
    }

    public Long getSchedulingId() 
    {
        return schedulingId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setStart(Long start) 
    {
        this.start = start;
    }

    public Long getStart() 
    {
        return start;
    }

    public void setEnd(Long end) 
    {
        this.end = end;
    }

    public Long getEnd() 
    {
        return end;
    }

    public void setSchedulingDate(Date schedulingDate) 
    {
        this.schedulingDate = schedulingDate;
    }

    public Date getSchedulingDate() 
    {
        return schedulingDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schedulingId", getSchedulingId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("title", getTitle())
            .append("content", getContent())
            .append("start", getStart())
            .append("end", getEnd())
            .append("schedulingDate", getSchedulingDate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
